﻿package GTween.as$75
{
    import flash.display.*;
    import flash.events.*;

    private class FrameTicker extends EventDispatcher implements ITicker
    {
        protected var shape:Shape;
        protected var _position:Number = 0;

        private function FrameTicker() : void
        {
            this.shape = new Shape();
            this.shape.addEventListener(Event.ENTER_FRAME, this.tick);
            return;
        }// end function

        public function get position() : Number
        {
            return this._position;
        }// end function

        protected function tick(event:Event) : void
        {
            var _loc_2:String = this;
            _loc_2._position = this._position++;
            dispatchEvent(new Event("tick"));
            return;
        }// end function

    }
}
